"""
位置 | 业务层
"""

from biz.base_biz import ValidatorBase
from models.po import FamilyPositionPO
from service import FamilyPositionService


class Model:
    """ 模型信息 """

    ID_FIELD: str = "position_id"
    NAME: str = "位置"
    PO = FamilyPositionPO
    SERVICE = FamilyPositionService


class FamilyPositionValidator(ValidatorBase):
    """ 位置 | 校验器 """

    model_id_field = Model.ID_FIELD
    model_name = Model.NAME
    model_po = Model.PO
    model_service = Model.SERVICE
